import request from '@/utils/request'

const api = {
  clothesStoreActivityLists: '/activity.activity/lists',
  clothesStoreActivityAdd: '/activity.activity/add',
  clothesStoreActivityEdit: '/activity.Activity/edit',
  clothesStoreActivityDetail: '/activity.Activity/edit',
  clothesStoreActivityPutaway: '/activity.activity/putaway',
  clothesStoreActivityDownfall: '/activity.activity/downfall',
  clothesActivityCity: '/activity.activityCity/lists',
  clothesActivityCityAdd: '/activity.activityCity/add',
  clothesActivityCityEdit: '/activity.activityCity/edit',
  clothesActivityCityDel: '/activity.activityCity/delete'
}
export function clothesActivityCityDel (parameter) {
  return request({
    url: api.clothesActivityCityDel,
    method: 'get',
    params: parameter
  })
}

export function clothesActivityCityEdit (parameter) {
    return request({
        url: api.clothesActivityCityEdit,
        method: 'post',
        data: parameter
    })
}

export function clothesActivityCityAdd (parameter) {
    return request({
        url: api.clothesActivityCityAdd,
        method: 'post',
        data: parameter
    })
}

export function clothesActivityCity (parameter) {
    return request({
        url: api.clothesActivityCity,
        method: 'get',
        params: parameter
    })
}

export function clothesStoreActivityDownfall (parameter) {
    return request({
        url: api.clothesStoreActivityDownfall,
        method: 'get',
        params: parameter
    })
}

export function clothesStoreActivityPutaway (parameter) {
    return request({
        url: api.clothesStoreActivityPutaway,
        method: 'get',
        params: parameter
    })
}

export function clothesStoreActivityEdit (parameter) {
    return request({
        url: api.clothesStoreActivityEdit,
        method: 'post',
        data: parameter
    })
}

export function clothesStoreActivityAdd (parameter) {
    return request({
        url: api.clothesStoreActivityAdd,
        method: 'post',
        data: parameter
    })
}

export function clothesStoreActivityDetail (parameter) {
    return request({
        url: api.clothesStoreActivityDetail,
        method: 'get',
        params: parameter
    })
}

export function clothesStoreActivityLists (parameter) {
    return request({
        url: api.clothesStoreActivityLists,
        method: 'get',
        params: parameter
    })
}
